function initialize() {
    var form = $("<form />");
    form.appendTo($("body"));
    var name = $("<div />", { text: "url: " });
    $("<input />", { type: "text", name: "url", id: "url" }).appendTo(name);
    name.appendTo(form);
}

function submit() {
    var settings = {};
    settings.Url = $("#url").val();
    window.external.notify(JSON.stringify(settings));
}
